/* ==========================================================
   AI SOCIAL MEDIA SCHEDULER (Professional Dark Theme)
   ========================================================== */

.scheduler-app-wrapper {
  background-color: #080d19;
  min-height: 88vh;
  padding-top: 90px !important; /* Proper clearance under main navbar */
}

/* Hero Title */
.scheduler-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #ffffff;
  border-radius: 12px;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(253, 29, 29, 0.25);
}

.scheduler-hero h2 {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}

.lead-sub {
  font-size: 14px;
  color: #94a3b8;
  max-width: 650px;
}

/* Master Scheduler Card */
.scheduler-card {
  background: #0d1527;
  border: 1px solid #1c2b4a;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Step Badges */
.step-badge {
  width: 32px;
  height: 32px;
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid #38bdf8;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wizard-step h4 {
  font-size: 1.15rem;
}

/* Box Panels Inside Steps */
.inner-highlight-box {
  background: #080d19;
  border: 1px solid #1c2b4a;
}

/* Status Badges */
.status-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

.status-disconnected {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-connected {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.text-cyan {
  color: #38bdf8 !important;
}

/* Instagram Connect Button Gradient */
.btn-instagram-gradient {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border: none;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-instagram-gradient:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Inputs & Form Elements */
.form-field-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
  display: block;
}

.scheduler-input {
  background: #080d19 !important;
  border: 1px solid #1c2b4a !important;
  color: #ffffff !important;
  font-size: 14.5px !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
}

.scheduler-input:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15) !important;
}

.prompt-hint-card {
  background: #0f1a30;
  border: 1px dashed #243559;
}

/* Terms Box */
.terms-card {
  background: #080d19;
  border: 1px solid #1c2b4a;
}

.cursor-pointer {
  cursor: pointer;
}

/* Status Indicator */
.status-text {
  font-size: 14px;
  color: #38bdf8;
}

/* Output Agent Result Panel */
.scheduler-result-card {
  background: #0d1527;
  border: 1px solid #10b981;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

.agent-icon {
  font-size: 28px;
}

.result-tile {
  background: #080d19;
  border: 1px solid #1c2b4a;
  height: 100%;
}

.tile-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.tile-content {
  font-size: 14px;
  line-height: 1.5;
}

.caption-box {
  white-space: pre-wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scheduler-card {
    padding: 18px 16px;
  }
}